<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/12/5
 * Time: 21:36
 */


namespace App\Http\Transformers\UserInfo;


use App\Models\UserAddress;
use League\Fractal\TransformerAbstract;

class GetUserAddressPageTransformer extends TransformerAbstract
{
    public function transform(UserAddress $userAddress)
    {
        return $userAddress->toArray();
    }
}
